package com.defines.ming.demo.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ExpenseLine {
    private  long lineId;
    private long headerId;
    private  String station;
    private  String expenseCategory;
    private  String expenseName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date starDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    private long priceUnit;
    private long count;
    private String expenseDesc;
    private String creationBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    private  String lastUpdateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private  Date lastUpdateDate;
    private  long objectVersionNumber;

    @Override
    public String toString() {
        return "ExpenseLine{" +
                "lineId=" + lineId +
                ", headerId=" + headerId +
                ", station='" + station + '\'' +
                ", expenseCategory='" + expenseCategory + '\'' +
                ", expenseName='" + expenseName + '\'' +
                ", starDate=" + starDate +
                ", endDate=" + endDate +
                ", priceUnit=" + priceUnit +
                ", count=" + count +
                ", expenseDesc='" + expenseDesc + '\'' +
                ", creationBy='" + creationBy + '\'' +
                ", createDate=" + createDate +
                ", lastUpdateBy='" + lastUpdateBy + '\'' +
                ", lastUpdateDate=" + lastUpdateDate +
                ", objectVersionNumber=" + objectVersionNumber +
                '}';
    }

    public long getLineId() {
        return lineId;
    }

    public void setLineId(long lineId) {
        this.lineId = lineId;
    }

    public long getHeaderId() {
        return headerId;
    }

    public void setHeaderId(long headerId) {
        this.headerId = headerId;
    }

    public String getStation() {
        return station;
    }

    public void setStation(String station) {
        this.station = station;
    }

    public String getExpenseCategory() {
        return expenseCategory;
    }

    public void setExpenseCategory(String expenseCategory) {
        this.expenseCategory = expenseCategory;
    }

    public String getExpenseName() {
        return expenseName;
    }

    public void setExpenseName(String expenseName) {
        this.expenseName = expenseName;
    }

    public Date getStarDate() {
        return starDate;
    }

    public void setStarDate(Date starDate) {
        this.starDate = starDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public long getPriceUnit() {
        return priceUnit;
    }

    public void setPriceUnit(long priceUnit) {
        this.priceUnit = priceUnit;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public String getExpenseDesc() {
        return expenseDesc;
    }

    public void setExpenseDesc(String expenseDesc) {
        this.expenseDesc = expenseDesc;
    }

    public String getCreationBy() {
        return creationBy;
    }

    public void setCreationBy(String creationBy) {
        this.creationBy = creationBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(String lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public long getObjectVersionNumber() {
        return objectVersionNumber;
    }

    public void setObjectVersionNumber(long objectVersionNumber) {
        this.objectVersionNumber = objectVersionNumber;
    }
}
